import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class NavigationIconView {
  final BottomNavigationBarItem item;

  //title
  final String title;

  //icon path
  final IconData iconPath;

  // NavigationIconView(
  //     {@required this.title,
  //     @required this.iconPath,
  //     @required this.activeIconPath})
  //     : item = BottomNavigationBarItem(
  //           icon: Image.asset(iconPath),
  //           activeIcon: Image.asset(activeIconPath),
  //           title: Text(title));

  NavigationIconView({
    @required this.title,
    @required this.iconPath,
  }) : item = BottomNavigationBarItem(
            icon: Icon(
              iconPath,
              color: Colors.blueGrey,
            ),
            activeIcon: Icon(
              iconPath,
              color: Colors.blue,
            ),
            title: Text(title));
}
